package org.blogwu.learn.mianshiti.chapter1;

/**
 * java Integer缓存
 *
 * @author hyf
 * @date 2019-03-31
 **/
public class Demo1 {
    public static void main(String[] args) {
        Integer i1 = 16;
        Integer i2 = 16;
        System.out.println(i1 == i2);
        Integer i3 = 1116;
        Integer i4 = 1116;
        System.out.println(i3 == i4);
    }
}
